<div class="static-sidebar-wrapper sidebar-bluegray">
    <div class="static-sidebar">
        <div class="sidebar">
            @include('include.admin.sidebar.user_info')
            <div class="widget stay-on-collapse" id="widget-sidebar">
                <nav class="widget-body">
                    <ul class="acc-menu">
                        <li class="nav-separator"><span>探索</span></li>
                        <li><a href="{{url('/admin/index')}}"><i class="ti ti-home"></i><span>仪表盘</span></a></li>
                        @if (Auth::user()->roleFlag() & \App\other\AdminFlag::ADMIN_FLAG_USER)
                            <li><a href="javascript:void(0);" id="left-menu-user"><i class="ti ti-layout"></i><span>用户管理</span></a>
                                <ul class="acc-menu">
                                    <li><a href="{{url('/admin/user/list')}}">用户列表</a></li>
                                    <li><a href="{{url('/admin/user/role')}}">用户Role</a></li>
                                    <li><a href="{{url('/admin/user/edit')}}">编辑用户</a></li>
                                </ul>
                            </li>
                        @endif
                        @if (Auth::user()->roleFlag() & \App\other\AdminFlag::ADMIN_FLAG_TOPIC_ED)
                            <li><a href="javascript:void(0);" id="left-menu-topci"><i class="ti ti-direction-alt"></i><span>帖子管理</span></a>
                                <ul class="acc-menu">
                                    <li><a href="{{url('/admin/topic/list')}}">帖子列表</a></li>
                                    <li><a href="{{url('/admin/topic/trash')}}">帖子回收站</a></li>
                                    <li><a href="{{url('/admin/topic/repay')}}">最新回复</a></li>
                                    <li><a href="{{url('/admin/topic/partitions')}}">版区管理</a></li>
                                    <li><a href="{{url('/admin/plate/tags')}}">版区类型</a></li>
                                </ul>
                            </li>
                        @endif
                    </ul>
                </nav>
            </div>
            <div class="widget" id="widget-sparklines">
                <div class="widget-heading">迷你图</div>
                <div class="widget-body p-md">
                    <div class="clearfix pt-n pb-sm">
                        <div class="pull-left"><h5 class="m-n small" style="font-weight: 400;">总访问者</h5></div>
                        <div class="pull-right"><h5 class="m-n">1,785</h5></div>
                    </div>
                    <div class="spark-totalvisitors"></div>
                    <div class="clearfix pt-lg pb-sm">
                        <div class="pull-left"><h5 class="m-n small" style="font-weight: 400;">总收入</h5></div>
                        <div class="pull-right"><h5 class="m-n">$7,585</h5></div>
                    </div>
                    <div class="spark-totalearnings"></div>
                </div>
            </div>
        </div>
    </div>
</div>